package com.fqgj.xjd.user.client.request;


import com.fqgj.xjd.user.client.enums.PlatformEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/20
 * Time: 下午3:56
 */
public class ShumeiDevice implements Serializable {

    private static final long serialVersionUID = 8870903686370552814L;
    private Long id;
    //数美id
    private String smId;

    //设备指纹信息
    private String fingerprintInfo;

    private PlatformEnum platformEnum;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    public ShumeiDevice() {
    }

    public ShumeiDevice(Long id, String smId, String fingerprintInfo, PlatformEnum platformEnum, Date gmtCreate) {
        this.id = id;
        this.smId = smId;
        this.fingerprintInfo = fingerprintInfo;
        this.platformEnum = platformEnum;
        this.gmtCreate = gmtCreate;
    }

    public ShumeiDevice(String smId, String fingerprintInfo, PlatformEnum platformEnum) {
        this.smId = smId;
        this.fingerprintInfo = fingerprintInfo;
        this.platformEnum = platformEnum;
    }

    public String getSmId() {
        return smId;
    }

    public Long getId() {
        return id;
    }

    public String getFingerprintInfo() {
        return fingerprintInfo;
    }

    public PlatformEnum getPlatformEnum() {
        return platformEnum;
    }

    public ShumeiDevice setId(Long id) {
        this.id = id;
        return this;
    }

    public ShumeiDevice setSmId(String smId) {
        this.smId = smId;
        return this;
    }

    public ShumeiDevice setFingerprintInfo(String fingerprintInfo) {
        this.fingerprintInfo = fingerprintInfo;
        return this;
    }

    public ShumeiDevice setPlatformEnum(PlatformEnum platformEnum) {
        this.platformEnum = platformEnum;
        return this;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public ShumeiDevice setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
        return this;
    }
}
